* {
    padding:0;
    margin:0;
}

body {
    width: 100vw;
    height: 100vh;
    display:grid;
    justify-items:center;
    align-content:center;
}

.app {
    position: relative;
    display:grid;
    grid-template-columns: repeat(10,50px);
    grid-auto-rows: 50px;
    border:solid 10px #95a5a6;
    overflow: hidden;
}

.app div.box {
    border:solid 1px #2c3e50;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    color: #dcdcdc;
}

.app div.snake {
    position: absolute;
    width:50px;
    height:50px;
}

button {
    margin:10px;
    padding:10px;
    width:90px;
    cursor: pointer;
}